import { ApiProperty } from '@nestjs/swagger';

export class BaseDto {
  @ApiProperty({
    description: 'accessKeyId',
    type: String,
    example: 'LTAI5tEPgfYFay352N6s4XQ1',
    required: false
  })
  AK: string;

  @ApiProperty({
    description: 'accessKeySecret',
    type: String,
    example: 'b0ymD2nUA7Z3aUnXEWIqIjtKOWFVKO',
    required: false
  })
  SK:string;

  @ApiProperty({
    description: '目标域名',
    type: String,
    example: 'bailian.cn-beijing.aliyuncs.com',
    required: false
  })
  endpoint: string;
  
  @ApiProperty({
    description: '方法类型 默认POST',
    required: false,
    type: String,
    example: 'POST',
  })
  method: string;
}
